package org.example.task.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum NotificationStatus {
    UNREAD(0, "未读"),
    READ(1, "已读");
    @JsonValue
    private final String key;
    @EnumValue
    private final int value;

    NotificationStatus(int value, String key) {
        this.value = value;
        this.key = key;
    }
}
